function setTop(top){
    var req = getXmlHttp();
    var statusElem = document.getElementsById('toage');
    req.onreadystatechange = function(){
        if(req.readyState == 4){
                statusElem.innerHTML = '';
                statusElem.innerHTML = req.responseText;
        }
    }
        req.open('GET', '/WadOS/js/agetop/' + top, true);
    
    req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
    req.send(null);
    }

function setBottom(bottom){
    var req = getXmlHttp();
    var statusElem = document.getElementsById('fromage');
    req.onreadystatechange = function(){
        if(req.readyState == 4){
                statusElem.innerHTML = '';
                statusElem.innerHTML = req.responseText;
        }
    }
        req.open('GET', '/WadOS/js/agebottom/' + bottom, true);
    req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
    req.send(null);
    }
